﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Silverlight.Arcgis.MapTip.GetDate
{
    /// <summary>
    /// 得到 数据的接口
    /// </summary>
    public interface IGetData:System.ComponentModel.INotifyPropertyChanged
    {
        /// <summary>
        /// 从指定的URL得到数据
        /// </summary>
        /// <param name="uri">指定的数据</param>
         void GetDate(Uri uri);


        /// <summary>
        /// 得到数据完成
        /// </summary>
         event DelegateGetDate GetDataComplete;



       
        /// <summary>
        /// 当前进度
        /// </summary>
         double Progerss
        {
            get; set;
        }

        /// <summary>
        /// 得到当前的数据
        /// </summary>
         object Data
        {
            get; set;
        }
    }
}
